<?php
/**
 * SocialEngine
 *
 * @category   Application_Extensions
 * @package    Vote
 * @copyright  Copyright 2011 KEENONWEB LLC
 * @license    http://www.keenonweb.com/
 * @version    $Id: index.tpl 2011-03-09 01:11:30 idris $
 * @author     Idris
 */
?>

<div class="kowcore-widget">
  <?php foreach ($this->paginator as $item): ?>
  <div class="item">
    <?php echo $this->htmlLink($item->getHref(), $this->itemPhoto($item, 'thumb.icon'), array('class' =>
    'kow-tip-element', 'id' => rand().'item-'.$item->getGuid())); ?>

    <!-- used to preload images -->
    <?php echo $this->itemPhoto($item, 'thumb.profile', '', array('class' => 'hidden')); ?>
    <!-- end preload -->
    <a href="javascript:void(0)" class="kow-tip-hint comment_count"><?php echo $item->left_comments; ?></a>
    <div class="hidden kow-tip-text"><?php echo $this->translate(array('%s comment', '%s comments', $item->left_comments), $item->left_comments); ?></div>
  </div>
  <?php endforeach; ?>
  <div class="clr"></div>
</div>